home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ Services Timeout.xpl
< prev
next >
Wrap
Text File
|
1998-08-08
|
1KB
|
45 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="2"
"COUNT"="1"
"UIPATH"="System\Timeouts"
"NAME"="Service Timeout"
"LANGUAGE"="VBScript"
"TEXT 1"="Timeout (sec)"
"DESCRIPTION 1"="If this computer is shut down, Windows allows all services a specified time to end themselves."
"DESCRIPTION 2"="After this time is reached any still running services will be shut down by Windows."
"DESCRIPTION 3"="The default timeout is 20 seconds."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.1"
sP="HKLM\System\CurrentControlSet\Control\WaitToKillServiceTimeout"
Sub Plugin_Initialize
i=RegReadValue(sp)
if IsEmpty(i)=false then
SetUIElement 1,i
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
s=GetUIElement(1)
If Len(s)<=0 then
DataInvalid "Please enter a value."
end if
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
i=GetUIElement(1)
Call RegWriteValue(sp,i,1)
End Sub
Sub Plugin_Terminate
End Sub